package com.bjpowernode.constants;

/**
 * @author 麦翔盛
 * @ClassName: RedisKey
 * @Package: com.bjpowernode.constants
 * @description: redis 的 key
 * @date 2022/5/19 18:31
 */
public class RedisKey {
    /**
     * 投资排行榜 (zset)
     */
    public static final String INVEST_RANK = "INVEST:RANK";

    /**
     * 存放用户短信验证码的key的前缀(注册验证码)
     */
    public static final String SMS_CODE_REG = "SMS:REGCODE:";
    /**
     * 存放用户的短信验证码key前缀(登录验证码)
     */
    public static final String SMS_CODE_LOG = "SMS:LOGCODE:";
    /**
     * token值的前缀
     */
    public static final String ACCESS_TOKEN = "ACCESS:TOKEN:";
    /**
     * 充值自增值
     */
    public static final String RECHARGE_ORDERID_INCR = "RECHARGE:ORDERID:INCR";

    /**
     * 充值订单列表 zset
     */
    public static final String RECHARGE_ORDERID_ZSET = "RECHARGE:ORDERID:ZSET";
}
